import request  from '@/utils/request';

import { BASE_URL } from '@/config/query';

export async function queryLocation() {
  return request(`${BASE_URL}/region/province_list`)
}

export async function querySubordinate(areaId) {
  return request(`${BASE_URL}/region/subordinate`, {areaId})
}